package edu.sctu.zhoumengxue.day201506.day20150614.serialization;

import java.io.Serializable;

/**测试对象序列化和反序列化
 * Created by user12 on 2015/6/14.
 */
public class Person implements Serializable{
    private static final long serialVersionUID = -58097863641323L;
    private int age;
    private String name;
    private String sex;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
